<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>首页</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js">
</script>
<script type="text/javascript" src="Admin/webroot/js/editor/kindeditor.js"></script>
<script type="text/javascript" src="Admin/webroot/js/kindeditor_upload.js"></script>

<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]--> 
<div class="rightbox">
    <div class="rightbox-col" id="right">
      <div class="main">
        {include file='../Common/main_title.html'}
        <div class="bd">
          <div class="height_20"></div>
          <div class="main_content">
            <form method="post" action="index.php?g=admin&m=sys&a=saveSetting">
               <div class="left-table"><span>站点地址: </span></div>
               <div class="right-table"> <input type="text" name="domain" value="{$setting['domain']}" />
              </div>
                <div class="height_10"></div>
              <div class="left-table"><span>站点标题:</span></div>
               <div class="right-table">  <input type="text" name="site_name" value="{$setting['site_name']}" />
              </div>
                <div class="height_10"></div>
              <div class="left-table"><span>站点关键词:</span></div>
                 <div class="right-table"> <input type="text" name="site_keyword" value="{$setting['site_keyword']}" />
              </div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>站点摘要:</span></div>
               <div class="right-table"> <input type="text" name="site_abs" value="{$setting['site_abs']}" /></div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>版权信息:</span></div>
              <div class="right-table">  <input type="text" name="copyright" value="{$setting['copyright']}" /></div>
               <div class="height_10"></div>
                <div class="left-table"><span>备案信息:</span></div>
                <div class="right-table">  <input  type="text" name="icp" value="{$setting['icp']}" /></div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>网站描述:</span></div>
                <div class="right-table">  <textarea style="display:inline-block" class="keywords"  name="site_des" >{$setting['site_des']}</textarea></div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>网站LOGO:</span></div>
               <div class="right-table"><input class="pro_img" type="text" name="site_logo" id="img_url" value="{$setting['site_logo']}" id="uploadf1"/></div>
                                    <div class="msg-s">
                                        <a href="javascript:;" class="localUpload f_l" onclick="$(this).next().children('form').children('.ke-upload-file').click()">本地上传</a>
                                      
                                       
                                         <input id="uploadButton_1" return_url="img_url" type="button" value="submit" />
                                  
                                    </div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>手机版:</span></div>
                <div class="right-table">  <div class=" s-radio-c">
                                            <a data-name='wap_support' data-value="0"  {if $setting.wap_support}{if $setting.wap_support eq 0}class="selectBtn focus"{else}class="selectBtn"{/if}{else}class="selectBtn focus"{/if} href="javascript:;"> 关闭</a>
                                            <a data-name='wap_support' data-value="1"   {if $setting.wap_support eq 1}class="selectBtn focus"{else} class="selectBtn"{/if}  href="javascript:;">开启</a>
                                            <input type="hidden" name="wap_support"  value="{if $setting.wap_support}{$setting.wap_support}{else}0{/if}"/>
                                            
                                        </div></div>
              <div class="height_10"></div>
               <div class="left-table"><span>模板:</span></div>
                <div class="right-table">  <div class=" s-radio-c">
                {foreach from=$tpl_list item=tpl}
                                            <a data-name='home_tpl' data-value="{$tpl}"  {if $setting.home_tpl eq $tpl}class="selectBtn focus"{else}class="selectBtn"{/if} href="javascript:;"> {$tpl}</a>                                            {/foreach}
                                           
                                            <input type="hidden" name="home_tpl"  value="{$setting.home_tpl}"/>
                                            
                                        </div></div>
              <div class="height_10"></div>
              
              
              <p><span></span><input style="margin-left:100px" class="submit_btn" type="submit" value="保存" /></p>
            </form>
          </div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
    <script>hungry_uploadimg('index.php?g=admin&m=sys&a=file');	</script>
  </div>
</body>
</html>
